﻿<%@ page import="com.plan.Params" %>


<div class="fieldcontain ${hasErrors(bean: paramsInstance, field: 'parmType', 'error')} ">
	<label for="parmType">
		<g:message code="params.parmType.label" default="Parm Type" />
		
	</label>
	<g:select id="parmType" name='parmType' value="${paramsInstance?.parmType}"
    from='${["system":"系统","subject":"专业","status":"状态","work_status":"工作状态","duty":"职位","unit":"单位"]}' 
    optionKey="key" optionValue="value"></g:select>
</div>

<div class="fieldcontain ${hasErrors(bean: paramsInstance, field: 'sn', 'error')} ">
	<label for="sn">
		<g:message code="params.sn.label" default="Sn" />
		
	</label>
	<g:textField name="sn" maxlength="30" value="${paramsInstance?.sn}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: paramsInstance, field: 'name', 'error')} ">
	<label for="name">
		<g:message code="params.name.label" default="Name" />
		
	</label>
	<g:textField name="name" maxlength="50" value="${paramsInstance?.name}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: paramsInstance, field: 'remark', 'error')} ">
	<label for="remark">
		<g:message code="params.remark.label" default="Remark" />
		
	</label>
	<g:textArea name="remark" cols="40" rows="5" maxlength="500" value="${paramsInstance?.remark}"/>
</div>



